package 对象之继承.demo02;

public class Dog extends Animal {
    String name = "Dog";

    public void eat() {
        System.out.println("狗吃骨头");

    }

    public void watch() {
        System.out.println("狗会看家");

    }
}
